package qt.domain;

import ht.domain.Formula;

/**
 * Created by yanlin on 2017/12/1.
 */
public class UserShow extends User{
    private String rolenm;

    public UserShow(String rolenm) {
        this.rolenm = rolenm;
    }

    public UserShow(User user, String rolenm) {
        super(user.getUcode(), user.getUname(), user.getUpwd(), user.getRolecd(), user.getNt());
        this.rolenm = rolenm;
    }

    public String getRolenm() {
        return rolenm;
    }

    public void setRolenm(String rolenm) {
        this.rolenm = rolenm;
    }

    @Override
    public String toString() {
        return "UserShow{" +
                "rolenm='" + rolenm + '\'' +
                super.toString()+
                '}';
    }
}
